package com.jshop.admin.sys.dao;


import com.jshop.admin.sys.entity.SysUserRoleEntity;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 用户与角色对应关系
 *
 */
@Component
public interface SysUserRoleDao extends BaseDao<SysUserRoleEntity> {


    /**
     * 根据用户ID，获取角色ID列表
     */
    List<Integer> queryRoleIdList(Integer userId);

     void insert(SysUserRoleEntity sysUserRoleEntity);


}
